package com.lmabbe.tenant.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lmabbe.tenant.objects.entity.TenantDatabases;

import java.util.List;

/**
 * @author lmabbe
 */
public interface TenantDatabasesService extends IService<TenantDatabases> {
    /**
     * 查找租户的所有数据库
     *
     * @param tenantId
     * @return
     */
    List<TenantDatabases> findTenantAllDatabases(String tenantId);
}
